package com.hanrentong.dp.strategy;

/**
 * 函数式接口
 * @param <T>
 */
@FunctionalInterface
public interface Comparator<T> {
    int compare(T o1, T o2);

    default void m() {
        System.out.println("m");
    }
}
